<?php

/**
 * 
 *
 * @version $Id: do_login.inc.php,v 1.5 2004/12/23 19:02:09 phppc Exp $
 * @copyright 2004 
 **/

$this->module_config["admin_show_nav"] = 0;
$this->module_config["admin_show_second_nav"] = 0;

$valid_login = $this->session_do_login($_POST["ncl_name"],$_POST["ncl_pw"],$_POST["set_cookie"]);

if ($valid_login == 1) {
	$this->message_green[] = 144;
	$this->w_leitung["number"] = 6;
	$this->w_leitung["url"] = $this->fun_make_link("admin.php");
}else {
	$this->message_red[] = 70;
	$this->w_leitung["number"] = 1;
}

?>